package com.zzl.smt.jeequan;

import com.jeequan.jeepay.Jeepay;
import com.jeequan.jeepay.model.JeepayObject;
import com.jeequan.jeepay.net.RequestOptions;
import com.jeequan.jeepay.request.JeepayRequest;

/**
 * description: 根据授权码获取渠道的用户id请求对象
 * @author zzl
 * @date 2022-11-29 20:52:26
 */
public class AuthCodeRequest implements JeepayRequest<AuthCodeResponse> {

    /***
     * 接口版本，默认1.0
     */
    private String apiVersion = Jeepay.VERSION;

    /**
     * 接口URI地址
     */
    private String apiUri = "api/authCode/getChannelUserId";

    /**
     * 可选参数
     */
    private RequestOptions options;

    /**
     * 业务参数
     */
    private JeepayObject bizModel = null;

    @Override
    public String getApiUri() {
        return this.apiUri;
    }

    @Override
    public String getApiVersion() {
        return this.apiVersion;
    }

    @Override
    public void setApiVersion(String apiVersion) {
        this.apiVersion = apiVersion;
    }

    @Override
    public RequestOptions getRequestOptions() {
        return this.options;
    }

    @Override
    public void setRequestOptions(RequestOptions options) {
        this.options = options;
    }

    @Override
    public JeepayObject getBizModel() {
        return this.bizModel;
    }

    @Override
    public void setBizModel(JeepayObject bizModel) {
        this.bizModel = bizModel;
    }

    @Override
    public Class<AuthCodeResponse> getResponseClass() {
        return AuthCodeResponse.class;
    }

}
